#include <stdio.h>
#include <string.h>
#include <unistd.h>
 
int main()
{
    fork();
    //C库
    printf("hello printf\n");
    fprintf(stdout,"hello fprintf\n");
    const char *message = "hello fwrite\n";
    fwrite(message,1,strlen(message),stdout);
 
    //系统调用
    const char *w = "hello write\n";
    write(1,w,strlen(w));
 
    return 0;
}
